﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MethodWorx.CMS.Plugins.HostedStatistics
{
    [CmsPlugin(
        Id="{29AF1B7D-B175-4F80-BD47-8DB1186E5828}",
        Name="Hosted Statistics",
        Description="Provides information about the statistics of the hosted CMS application")]
    public class HostedStatisticsExtension : Plugin, IAutoLoadedPlugin, IDashboardPlugin
    {
        public IEnumerable<DashboardWidget> GetWidgets()
        {
            yield return new DashboardWidget()
            {
                Id = this.Id,
                Title = "Hosted Statistics",
                Url = "~/Dashboard/HostedStatistics",
                Height = 250
            };
        }
    }
}
